/**
 * 小DEMO: tasks 任务列表
 *
 *    1. 安装依赖
 *      npm install redux react-redux redux-logger redux-thunk @redux-devtools/extension
 *
 *    2. 创建 store ,涉及 reducer, state 的初始值
 */

import ReactDOM from "react-dom/client";
import { Provider } from "react-redux";

import store from "./store";

import App from "./App";

const root = ReactDOM.createRoot(document.querySelector("#root")!);

root.render(
  <Provider store={store}>
    <App />
  </Provider>
);
